<section class="" ng-init="getSingle()">
  <form ng-class="{'submitted': submitted}" ng-submit="save()">
    <div class="row">
      <div class="col-8">
        <service-main model="viewmodel"> </service-main>
        <div class="mb-3"></div>

        <div class="card">
          <h6 class="card-header">
            Tables
            <a
              ng-click="$ctrl.addAttr()"
              class="btn btn-link text-primary btn-sm float-end"
              ><span class="fas fa-link"></span> Add Existing</a
            >
            <a
              ng-click="$ctrl.addAttr()"
              class="btn btn-link text-primary btn-sm float-end"
              ><span class="fas fa-plus"></span> Create Table</a
            >
          </h6>
          <div class="card-body"></div>
        </div>
      </div>
      <div class="col-4">
        <actions
          preview-url="viewmodel.detailsUrl"
          back-url="referrerUrl"
        ></actions>
      </div>
    </div>
  </form>
</section>
